hann_window Derived Type

type, public, extends(window) :: hann_window

Defines a Hann window.

.

See Also


Components

Type Visibility Attributes Name Initial
integer(kind=int32), public :: size = 0

The window size.


Type-Bound Procedures

procedure, public :: evaluate => hann_eval

  • private pure function hann_eval(this, bin) result(rst)

    Evaluates the window function.

    Arguments

    Type IntentOptional Attributes Name
    class(hann_window), intent(in) :: this

    The hann_window object.

    integer(kind=int32), intent(in) :: bin

    The index or bin number [0, n], where n is the window size.

    Return Value real(kind=real64)

    The function value.